package com.github.pig.sales.service.impl;

import com.github.pig.sales.entity.SalesIntentionFlowup;
import com.github.pig.sales.mapper.SalesIntentionFlowupMapper;
import com.github.pig.sales.mapper.SalesPublicRepertoryMapper;
import com.github.pig.sales.service.ISalesIntentionFlowupService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 意向跟进 服务实现类
 * </p>
 *
 * @author andrew
 * @since 2018-06-16
 */
@Service
public class SalesIntentionFlowupServiceImpl extends ServiceImpl<SalesIntentionFlowupMapper, SalesIntentionFlowup> implements ISalesIntentionFlowupService {

    @Autowired
    private SalesIntentionFlowupMapper mapper;

    @Autowired
    private SalesIntentionFlowupMapper intentionFlowupMapper;
    @Autowired
    private SalesPublicRepertoryMapper publicRepertoryMapper;

    @Override
    public List<Map<String,Object>> getByStuId(Integer stuId) {
        return mapper.getByStuId(stuId);
    }

}
